package com.sca.auth.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author liuxianfei
 * @since 2020/10/30 10:48
 */
@Setter
@Getter
@TableName("sca_user")
public class User extends AbstractEntity<User> {

    private static final long serialVersionUID = 6694901721569909447L;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    /**
     * 0：有效，1：无效
     */
    @TableField("is_delete")
    private Boolean del;

}
